from django.urls import path
from myapp import views

urlpatterns = [
    path('reg/', views.RegView.as_view()),
    path('login/', views.LoginView.as_view()),
    path('get/', views.Getdata.as_view()),
    path('del/<int:id>/', views.Remove.as_view()),
    path('add/', views.Add.as_view()),
    path('img/code/<str:uuid>/', views.ImgView.as_view()),
    path('update/<int:id>/', views.Update.as_view()),
    path('search/', views.Search.as_view())
]

